//
//  AppInfo.h
//  barcodehair
//
//  Created by wai man lam on 19/4/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

typedef enum {
    HomePageStyleTemplate1 = 0,
    HomePageStyleTemplateSandBay
} HomePageStyleTemplate;

//#define TEST_DEVELOPMENT_SANDBAY

#import <Foundation/Foundation.h>
#import "BarParams.h"

@interface DataInfo : NSObject{
    
    BarParams *barParams;
}

enum MapType {
    BaiduMap = 0,
    GoogleMap
};

typedef int MapType;
@property MapType mapType;

@property (copy) NSString *requestedType;
@property (copy) NSString *tomcatUrl;
@property (copy) NSString *navBar;
@property (copy) NSString *Iphone5StartPic;
@property (copy) NSString *OthersStartPic;
@property (copy) NSString *certificatePath,*certificateDownLoadLink;
@property (copy) NSString *runPlatform;
@property (copy) NSMutableArray *dataList;
@property(copy) NSString *moreLayout;

/*
 SplashView
 */
- (BOOL)hasLoadingPage;
- (NSString *)loadingPlaceHolder;
- (NSString *)getLoadingPageCustomizeId;

/*
 NavigationBar and TabBar
 */
- (BarParams *)getBarParams;
- (NSMutableArray *)getAllTabTitles;
- (NSString *)getNavigationBarBackground;
- (NSString *)getNavigationBarLogo;

/*
 Home Page
 */
- (NSInteger)getHomePageStyle;
- (NSString *)getHomePageStyleTemplate;
- (NSMutableArray *)getHomePageControllers;
- (NSMutableArray *)getHomeControllers;
- (NSMutableArray *)getMoreControllers;
- (NSString *)getHomePageBackground;
- (NSString *)getHomePageMenuBackground;
- (NSMutableArray *)getHomePageMenuIcons;
- (NSMutableArray *)getHomePageMenuTitles;

/*
 Tab
 */
- (NSString *)getTabBackground:(NSString *)tabId;
- (NSString *)getTabId:(NSInteger)sortIndex;
- (NSMutableDictionary *)getControllerInfo:(NSInteger)sortIndex;
- (NSString *)getTabTitle:(NSInteger)sortIndex;
- (NSString *)getDetailLayout:(NSString *)tabId;


@end
